package com.yunhe.springbootdemo3.dao;

import com.yunhe.springbootday1.domain.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AccountDao1 {
    int addAccount(Account account);

    String findPasswordByUsername(String username);

    Account findAccountByUsernameAndPassword(@Param("uname") String username, @Param("password") String password);

    Account findAccountById(int id);
}
